Skip to content

Conversation

@aarondill
Copy link
Contributor

@aarondill aarondill commented Mar 25, 2024

part 1 of #141

this allows

local f = utils.debounce(function(...) print(...) end)
f(1, nil, 9, nil, nil) -- "1 nil 9 nil nil"
--- previously would've output "1" (undefined behavior)

@aarondill aarondill requested a review from amirbilu as a code owner March 25, 2024 07:17
@aarondill aarondill mentioned this pull request Mar 25, 2024
this allows
```lua
local f = utils.debounce(function(...) print(...) end)
f(1, nil, 9, nil, nil) -- "1 nil 9 nil nil"
--- previously would've output "1" (undefined behavior)
```
@amirbilu amirbilu force-pushed the utils-debounce-nil branch from 62d618f to 12cd69e Compare March 26, 2024 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant